home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / freeWAIS-sf-1.1 / lib / stringtoany.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-04  |  758 b   |  35 lines

  1. /* WIDE AREA INFORMATION SERVER SOFTWARE:
  2.    No guarantees or restrictions.  See the readme file for the full standard
  3.    disclaimer.    
  4.   
  5.  *
  6.  * Change log:
  7.  * $Log: stringtoany.c,v $
  8.  * Revision 1.1  1994/08/05  07:13:50  pfeifer
  9.  * Initial revision
  10.  *
  11.  * Revision 1.1  1993/02/16  15:08:58  freewais
  12.  * Initial revision
  13.  *
  14.  * Revision 1.3  92/02/27  09:26:14  jonathan
  15.  * seperated =* since some compilers get confused (ULTRIX).
  16.  * 
  17.  * Revision 1.2  92/02/16  18:23:52  jonathan
  18.  * Utility to make an any out of a string
  19.  * 
  20. */
  21.  
  22. /* Copyright (c) CNIDR (see ../COPYRIGHT) */
  23.  
  24.  
  25. main(argc,argv)
  26. int argc;
  27. char **argv;
  28. {
  29.   char c;
  30.   printf("(:any :size %d :bytes #( ", strlen(argv[1]));
  31.   while(c = *argv[1]++) printf("%d ", c);
  32.   printf(") )\n");
  33.   exit(0);
  34. }
  35.